package mysql

import "gorm.io/gorm"

type Product struct {
	gorm.Model
	Username string `gorm:"type:varchar(20);not null;index:ip_idx commit:'账号'"`
	Password string `gorm:"type:varchar(20);not null;index:ip_idx commit:'密码'"`
	Name     string `gorm:"type:varchar(20);not null;index:ip_idx commit:'商品名称'"`
	Price    string `gorm:"type:varchar(255);not null;index:ip_idx commit:'商品价格'"`
}
